//
//  HttpTool.h
//  Project
//
//  Created by  CarlsonLee on 2018/12/11.
//  Copyright © 2018年 YANJING. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>

@interface HttpTool : NSObject

+ (NSURLSessionDataTask *)myRequestWithBaseUrl:(NSString *)baseUrl urlStr:(NSString *)urlStr method:(NSString *)methodStr parameters:(NSDictionary *)parameters success:(void (^)(NSObject *resultObj))success fail:(void (^)(NSString *errorStr))fail;

+ (NSURLSessionUploadTask *)myRequestMultiUploadWithBaseUrl:(NSString *)baseUrl urlStr:(NSString *)urlStr parameters:(NSDictionary *)paramaters project:(NSDictionary *)projects success:(void (^)(NSObject *resultObj))success fail:(void (^)(NSString *errorStr))fail;

@end
